﻿
ul, li, button
{
    list-style: none;
    margin: 0;
    padding: 0;
}
#main
{
    margin: 0 auto;
    padding: 0 7px 5px;
    width: 395px;
    border: 1px solid #999;
    background: #AFD0F2;
    border-radius: 5px;
    box-shadow: 1px 1px 19px 1px black;
}
.clearfix:after
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix
{
    zoom: 1;
}
/* IE6 */
*:first-child + html .clearfix
{
    zoom: 1;
}
/* IE7 */


#content
{
    border: 1px solid black;
    box-shadow: 0px 0px 0px 1px rgba(255,255,255,0.7);
    background: #D9E4F1;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#EDF4FD), to(#D9E4F1));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#edf4fd, endColorstr=#d9e4f1);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#edf4fd',EndColorStr='#d9e4f1')";
    background-image: -webkit-linear-gradient(#EDF4FD, #D9E4F1);
    background-image: -moz-linear-gradient(#EDF4FD, #D9E4F1);
    background-image: -ms-linear-gradient(#EDF4FD, #D9E4F1);
    background-image: -o-linear-gradient(#EDF4FD, #D9E4F1);
    background-image: linear-gradient(#EDF4FD, #D9E4F1);
}

#calculator-icon
{
    background-image: url('calculator.png');
    background-repeat: no-repeat;
    width: 14px;
    height: 18px;
    position: absolute;
}

.left
{
    float: left;
}
.right
{
    float: right;
}
header
{
    height: 24px;
    margin: 5px 5px 0 5px;
}

.inline > li
{
    float: left;    
}
.icon {
    background-repeat: no-repeat;
    background-image: url('icons.png');
    display: block;
    height: 17px;
}
.hide {
    cursor: pointer;
    width: 27px;
    background-position: 0px 0px;
}
.maximize {
width: 25px;
background-position: -28px 0px;
}
.remove {
    cursor: pointer;
width: 46px;
background-position: -53px 0px;
}
.inline {
    margin-top: -5px;
    margin-right: -5px;
}

.inline > li > button
{
   
}

#calculator-icon + span
{
    width: 100px;
    display: block;
    text-align: center;
}

#menu
{
    padding: 1px;
    padding-left: 5px;
    border-bottom: 1px solid #c0c5d1;
    box-shadow: 0px 1px 0px #edeeef;
}

#menu span
{
    margin-right: 10px;
    display: inline-block;
}

#menu span::first-letter
{
    text-decoration: underline;
}

button
{
    width: 10px;
}

#field
{
    padding: 5px;
}

form input
{
    width: 99%;
    height: 57px;
    margin-left: 5px;
    margin-top: 9px;
    color: #28282A;
    text-align: right;
    font-size: 26px;
    text-shadow: 1px 0px 0px white;
    outline: none;
    font-family: Consolas;
    border: 1px solid #9BA8B8;
    background: white;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#E5EEFB), to(white));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#e5eefb, endColorstr=#ffffff);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#e5eefb',EndColorStr='#ffffff')";
    background-image: -webkit-linear-gradient(#E5EEFB, white);
    background-image: -moz-linear-gradient(#E5EEFB, white);
    background-image: -ms-linear-gradient(#E5EEFB, white);
    background-image: -o-linear-gradient(#E5EEFB, white);
    background-image: linear-gradient(#E5EEFB, white);
    box-shadow: 1px 0px 0px 1px white inset;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-right: 6px;
    padding-top: 12px;
}

#numbers
{
    color: #496d9e;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    border: 1px solid black;
    box-shadow: 1px 0px 0px 1px white inset;
}

#numbers li
{
    float: left;
    font-family: Consolas;
    display: block;
    width: 24px;
    height: 72%;
    margin-right: 21px;
    margin-left: 2px;
    margin-bottom: 4px;
    margin-top: 6px;
    line-height: 14px;
}

.numberTwo span
{
    display: block;
    height: 29px;
}

.system
{
    margin-bottom: 3px;
    margin-left: 5px;
    border: 1px solid #a2b0c2;
    padding: 6px 13px 8px 2px;
    font-family: Consolas;
    text-align: left;
}

.system input
{
    margin: 0 0 0 5px;
}

.system label
{
    margin-left: -5px;
}

.buttons {
    width: 76%;
    margin-top: -2px;
   
}

.buttons button{
    width: 34px;
    height: 29px;
    padding: 0px;
    margin: 1px;
    margin-bottom: 2px;
    float: left;
    
}
#fat {
    width: 71px;
}
#tall {
    height: 61px;
    float: right;
    margin: 2px;   
}
#numbersRight1 {
    padding-left: 19px;
}
#numbersRight2 {
    padding-left:27px;
}

#arrow {
    font-size: 24px;
    line-height: 0px;
}


.buttons button:hover{
	background: #fff6ec; /* Old browsers */
    border: 1px solid yellow;
    border-radius: 5px;
	background: -moz-linear-gradient(top,  #fff6ec 0%, #fee2c3 52%, #ffd16f 53%, #fff99f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff6ec), color-stop(52%,#fee2c3), color-stop(53%,#ffd16f), color-stop(100%,#fff99f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fff6ec 0%,#fee2c3 52%,#ffd16f 53%,#fff99f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fff6ec 0%,#fee2c3 52%,#ffd16f 53%,#fff99f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fff6ec 0%,#fee2c3 52%,#ffd16f 53%,#fff99f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #fff6ec 0%,#fee2c3 52%,#ffd16f 53%,#fff99f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff6ec', endColorstr='#fff99f',GradientType=0 ); /* IE6-9 */
}

.disabled {
    color: #45677a;
    text-shadow: 1px 0px 0px white;
    outline: none;
    border: 1px solid #bbc8d7;
    background: #d9e4f1;
}
.digit {
    background: -webkit-linear-gradient(#F7FBFF 0, #EDF3F8 49%, #E7EDF5 50%, #F3FBFF 100%);
    background: -moz-linear-gradient(#F7FBFF 0, #EDF3F8 49%, #E7EDF5 50%, #F3FBFF 100%);
    background: -o-linear-gradient(#F7FBFF 0, #EDF3F8 49%, #E7EDF5 50%, #F3FBFF 100%);
    background: linear-gradient(#F7FBFF 0, #EDF3F8 49%, #E7EDF5 50%, #F3FBFF 100%);
    font-size: 15px;
    position: relative;   
    height: 27px;
    border: 1px solid #8797AA;  
    background: -moz-linear-gradient(#F0F6FB 0, #E2EAF3 49%, #D5E0ED 50%, #D7E2EF 100%);
    background: -o-linear-gradient(#F0F6FB 0, #E2EAF3 49%, #D5E0ED 50%, #D7E2EF 100%);
    background: linear-gradient(#F0F6FB 0, #E2EAF3 49%, #D5E0ED 50%, #D7E2EF 100%);
    line-height: 25px;
}
.different-color {
    color: #a8a8ab;
}

.command {
    background: #e2e8ef; /* Old browsers */
    background: -moz-linear-gradient(top, #e2e8ef 0%, #f8fdff 4%, #eff5fb 7%, #e4ebf4 44%, #d4dfec 52%, #d6e1ef 89%, #d4dfee 93%, #e5edf6 96%, #edf0f2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2e8ef), color-stop(4%,#f8fdff), color-stop(7%,#eff5fb), color-stop(44%,#e4ebf4), color-stop(52%,#d4dfec), color-stop(89%,#d6e1ef), color-stop(93%,#d4dfee), color-stop(96%,#e5edf6), color-stop(100%,#edf0f2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e2e8ef 0%,#f8fdff 4%,#eff5fb 7%,#e4ebf4 44%,#d4dfec 52%,#d6e1ef 89%,#d4dfee 93%,#e5edf6 96%,#edf0f2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e2e8ef 0%,#f8fdff 4%,#eff5fb 7%,#e4ebf4 44%,#d4dfec 52%,#d6e1ef 89%,#d4dfee 93%,#e5edf6 96%,#edf0f2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e2e8ef 0%,#f8fdff 4%,#eff5fb 7%,#e4ebf4 44%,#d4dfec 52%,#d6e1ef 89%,#d4dfee 93%,#e5edf6 96%,#edf0f2 100%); /* IE10+ */
    background: linear-gradient(to bottom, #e2e8ef 0%,#f8fdff 4%,#eff5fb 7%,#e4ebf4 44%,#d4dfec 52%,#d6e1ef 89%,#d4dfee 93%,#e5edf6 96%,#edf0f2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e8ef', endColorstr='#edf0f2',GradientType=0 );
     /* IE6-9 */
     border: 1px solid #b4beca;
}
.special-command {
    background: #eaf2f9; /* Old browsers */
    background: -moz-linear-gradient(top, #eaf2f9 0%, #d2deec 4%, #d4e0ed 8%, #d5e0ef 92%, #dae5f1 96%, #f8fbfd 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaf2f9), color-stop(4%,#d2deec), color-stop(8%,#d4e0ed), color-stop(92%,#d5e0ef), color-stop(96%,#dae5f1), color-stop(100%,#f8fbfd)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #eaf2f9 0%,#d2deec 4%,#d4e0ed 8%,#d5e0ef 92%,#dae5f1 96%,#f8fbfd 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #eaf2f9 0%,#d2deec 4%,#d4e0ed 8%,#d5e0ef 92%,#dae5f1 96%,#f8fbfd 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #eaf2f9 0%,#d2deec 4%,#d4e0ed 8%,#d5e0ef 92%,#dae5f1 96%,#f8fbfd 100%); /* IE10+ */
    background: linear-gradient(to bottom, #eaf2f9 0%,#d2deec 4%,#d4e0ed 8%,#d5e0ef 92%,#dae5f1 96%,#f8fbfd 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaf2f9', endColorstr='#f8fbfd',GradientType=0 ); /* IE6-9 */
   border: 1px solid #97a7b9;
}
label {
    font-size: 15px;
}


